import { Calendar } from "vant"

//创建一个类 Details 文件获取的所有后台数据  多项数据整合
export class Details {
    constructor(info, brand, image) {
        this.specs = info.specs
        this.norm_name = info.norm_name
        this.selling_price = info.selling_price
        this.market_price = info.market_price
        this.goods_stock = info.goods_stock
        this.goods_unit = info.goods_unit
        this.delivery_time = info.delivery_time
        this.min_order = info.min_order
        this.goods_unit = info.goods_unit
        this.infotitle = info.title
        this.title = brand.title
        this.logo = brand.logo
        this.image = image

    }
}

// export class OrderDetails {
//     constructor(order, receipt_address, order_goods, ) {
//         this.create_at = order.create_at
//         this.goods_price = order.goods_price //总价
//         this.consignee = receipt_address.consignee
//         this.phone = receipt_address.phone
//         this.order_goods = order_goods



//     }
// }